package com.ncmmall.domain.business.merchant.freight;

import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * 区
 *
 * @author likaikai
 * @date 2019-07-15 09:33:33
 */
@Entity
@Table(name = "mall_merchant_freight_area")
@Access(AccessType.FIELD)
public class MerchantFreightArea {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 区编码
     */
    private String areaCode;

    /**
     * 所属市编码
     */
    private String cityCode;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }
}
